﻿using System.Collections.Generic;
using System.Web.Mvc;
using Sharp.DataTransferObject;
using Sharp.WebBooter.Areas.Dailywork.Models;

namespace Sharp.WebBooter.Areas.Dailywork.Controllers
{
    [AllowAnonymous]
    public class HomeController : Controller
    {
        // GET: TestingCellphone/Home

        public ActionResult Index()
        {
            var vm = new IndexViewModel();
            vm.NavData = new List<PermissionDTO>()
            {
                new PermissionDTO("1", "005", "日报", "01", null, 1, "", "fa fa-modx"),
                new PermissionDTO("2", "005001", "填报", "01",
                        "1", 0, "/Report/Write", "fa fa-bar-chart-o"),
                new PermissionDTO("3", "005002", "汇总", "01",
                        "1", 0, "/Report/Index", "fa share-square-o"),
 
            };
            return View(vm);
        }
        public ActionResult Main()
        {
            return View();
        }
    }
}